Auto merge of #1232 - alexcrichton:issue-1231, r=huonw
authorbors <bors@rust-lang.org>
Thu, 29 Jan 2015 00:56:56 +0000 (00:56 +0000)
committerbors <bors@rust-lang.org>
Thu, 29 Jan 2015 00:56:56 +0000 (00:56 +0000)
* Break out the error reporting to its own separate function
* Don't pass `Context` by value as it's quite large, instead pass `Box<Context>`
* Don't bother monomorphizing `R: Registry`, instead just take a trait object.

Closes #1231


Trivial merge